<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>借款日志记录</title>
<link href="<c:url value='/insdep/reset.min.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/insdep/easyui_full.css'/>" rel="stylesheet" type="text/css">
<link href="<c:url value='/insdep/icon.css'/>" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<c:url value='/insdep/jquery-1.11.3.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/insdep/jquery.easyui-1.5.2.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/insdep/insdep-extend.min.js'/>"></script>

</head>
<body>

<script type="text/javascript">
$(function(){
	
	//按条件查询用户
	 $("#check_Loan").linkbutton({onClick:function(){ 
		 
		 $('#loanlog_Info_from').form('submit', {   
			 onSubmit : function(param) {
				 param.empId =  $("#loan_info_win").window("options").empId;
					return $(this).form("validate");//验证
				},
			    success:function(data){    //表单查询数据刷新DataGrid
			    	var resultData = $.parseJSON(data);  
			    	$('#loanlog_Info_table').datagrid('loadData', resultData); 
			    }    
			}); 
	 }});
	
	 $("#no").linkbutton({
			onClick:function(){
				$("#loan_info_win").window('close');
			}
		});
	 
	 $("#reset_ll").linkbutton({
			onClick : function() {
				$("#loanlog_Info_from").form('reset');
			}
		})
	 
})
</script>

<div class="easyui-layout theme-layout" data-options="fit:true">
    <div class="theme-header-layout" style="height:70px;border: 0px solid red" data-options="region:'north'">
    	<div style="width:96%;margin-right:5%;margin-top:20px;border: 0px solid green">
        <form action="loanlogempInfo" id="loanlog_Info_from" class="searcher-form" method="post">
    		<input name="onetime" class="easyui-datebox" labelAlign='right'
			 style="width:20%;" label="日期：" editable="false" labelWidth="50px">
			<input name="lasttime" class="easyui-datebox" labelAlign='right'
			 style="width:16%;" label="~" editable="false" labelWidth="10px">
			<a id="check_Loan"  class="easyui-linkbutton button-line-blue" 
			style="width: 11%;height: 30px;margin-left: 9%;"><i class="iconfont icon-roundcheck"></i>查询</a>
			<a id="reset_ll"  class="easyui-linkbutton button-line-blue" 
			style="width: 11%;height: 30px;margin-left: 9%;"><i class="iconfont icon-refresh"></i>重置</a>
    		<a id="no"  class="easyui-linkbutton button-line-blue return" 
			style="width: 11%;height: 30px;margin-left: 9%;"><i class="iconfont icon-pullleft"></i>取消</a>
			
    	</form>
    	</div>
    </div>
    <div class="theme-center-layout" style="border: 0px solid red" data-options="region:'center',title:'未签合同信息表'">
        <!-- <div style="margin-left: 12%;margin-right:5%;margin-top:20px;border: 0px solid red"> -->
        <!--  class="table table-striped" -->
        <table id="loanlog_Info_table" style="width:100%;height: 100%" class="easyui-datagrid" 
		data-options="
		height:450,
		singleSelect:true,
        collapsible:true,
		">
	<thead>
		<tr>
			<th style="font-weight: 700;width: 15%" align="center" data-options="field:'empName'">员工姓名</th>
			<th style="font-weight: 700;width: 15%" align="center" data-options="field:'loanlogTime'">操作日期</th>
			<th style="font-weight: bold;width: 15%" align="center" data-options="field:'loanlogLastmoney'">上次余额</th>
			<th style="font-weight: bold;width: 15%;" align="center" data-options="field:'loanlogThismoney'">本次余额</th>
			<th style="font-weight: bold;width: 15%" align="center" data-options="field:'loanlogFiow'">关联流程</th>
			<th style="font-weight: bold;width: 25%" align="center" data-options="field:'loanlogNote'">备注</th>
		</tr>
	</thead>
</table>
<!-- </div> -->

    </div>

</div>
<div id="Unwin"></div>
</body>
</html>